﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Claim
/// </summary>
namespace CE.CarInsurance
{
    public class Claim
    {
        public Claim()
        {
            ClearFields();
        }

        private string _carmake;
        private string _carmodel;
        private string _body;
        private int _cc;
        private int _door;
        private int _groupno;
        private string _makemodeldesc;
        private int _manufactyear;
        private string _name;
        private string _email;
        private string _phone;
        private int _claimInsurerId;
        private string _expiryMonth;
        private Int64 _agentid;

        public string CarMakeName
        {
            get { return _carmake; }
            set { _carmake = value; }
        }

        public string CarModelName
        {
            get { return _carmodel; }
            set { _carmodel = value; }
        }

        public string Body
        {
            get { return _body; }
            set { _body = value; }
        }

        public int CC
        {
            get { return _cc; }
            set { _cc = value; }
        }

        public int Door
        {
            get { return _door; }
            set { _door = value; }
        }

        public int GroupNo
        {
            get { return _groupno; }
            set { _groupno = value; }
        }

        public string MakeModelDesc
        {
            get { return _makemodeldesc; }
            set { _makemodeldesc = value; }
        }

        public int ManufactYear
        {
            get { return _manufactyear; }
            set { _manufactyear = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        public int ClaimInsurerId
        {
            get { return _claimInsurerId; }
            set { _claimInsurerId = value; }
        }

        public string ExpiryMonth
        {
            get { return _expiryMonth; }
            set { _expiryMonth = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public void ClearFields()
        {
            _carmake = "";
            _carmodel = "";
            _body = "";
            _cc = 0;
            _door = 0;
            _groupno = 0;
            _makemodeldesc = "";
            _manufactyear = 0;
            _name = "";
            _email = "";
            _phone = "";
            _claimInsurerId = 0;
            _expiryMonth = "";
            _agentid = 0;
        }

    }
}